﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using MockPrjTeam2.Common;

namespace MockPrjTeam2.DAO
{
    public class ProgrammeDao
    {
        public DataTable GetallProgramme()
        {
            string query = "select ProgrammeID,ProgrammeName from Programme  ";
            using (var helper = new SqlHelper())
            {
                return helper.ExecuteSelectQuery(query);
            }
        }
    }
}